// Spwl.h: interface for the Spwl class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SPWL_H__E4B04119_0821_4DF7_ADED_559521604CC6__INCLUDED_)
#define AFX_SPWL_H__E4B04119_0821_4DF7_ADED_559521604CC6__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Tree.h"

namespace PDMS
{
	namespace SpecFrame
	{
		class DllExport Spwl : public PDMSFrame::UeDbObject 
		{
			UE_PDMSCLASS_DEFINE( Spwl );

		public:
			Spwl();
			Spwl(Spwl& obj);
			virtual ~Spwl();

		public:
			virtual Persistable* Clone();
			virtual BOOL IsLegalParent( PDMSFrame::UeDbObject* pParent );

		public:
			const StdString& GetPurpose() const{
				AssertReadEnable();
				return m_strPurpose;
			}
			
			void SetPurpose(const StdString& Purpose){
				AssertWriteEnable();
				m_strPurpose = Purpose;
			}
			
		private:
			StdString m_strPurpose;
		};
	}
}



#endif // !defined(AFX_SPWL_H__E4B04119_0821_4DF7_ADED_559521604CC6__INCLUDED_)
